package com.biaobiaoqi.scoreanalysis.service;

import java.util.List;

import com.biaobiaoqi.scoreanalysis.exception.DuplicateSchoolYearException;
import com.biaobiaoqi.scoreanalysis.hibernate.bean.SchoolYear;
import com.biaobiaoqi.scoreanalysis.util.Semester;

public interface ISchoolyearService {

	public  void addSchoolYear(int begin, int end, Semester semester)
			throws DuplicateSchoolYearException;

	public  SchoolYear findSchoolYear(int schoolYearId);

	public  SchoolYear findSchoolYear(int begin, int end,
			Semester semester);

	public  List<SchoolYear> listSchoolYear(int begin, int number);

	public  void deleteSchoolYear(int id);
}